projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93bca0
)
* lisp/emacs-lisp/macroexp.el (macroexp-if): Fix typo
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 27 Jan 2021 23:53:58 +0000
(18:53 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 27 Jan 2021 23:53:58 +0000
(18:53 -0500)
lisp/emacs-lisp/macroexp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/macroexp.el
b/lisp/emacs-lisp/macroexp.el
index 78f0b636a74a2fc6423b748bab43d4708c590a60..e842222b7c314581b0f2ad1f5a9172e3aa0d5d89 100644
(file)
--- a/
lisp/emacs-lisp/macroexp.el
+++ b/
lisp/emacs-lisp/macroexp.el
@@
-377,7
+377,7
@@
Never returns an empty list."
(t
`(cond (,test ,@(macroexp-unprogn then))
(,(nth 1 else) ,@(macroexp-unprogn (nth 2 else)))
- ,@(let ((def (nthcdr 3 else))) (if def
'
((t ,@def))))))))
+ ,@(let ((def (nthcdr 3 else))) (if def
`
((t ,@def))))))))
((eq (car-safe else) 'cond)
`(cond (,test ,@(macroexp-unprogn then)) ,@(cdr else)))
;; Invert the test if that lets us reduce the depth of the tree.